﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace ExpLib.SSO
{
    public class SSOServerSection : ConfigurationSection
    {
        [ConfigurationProperty("Behavior", DefaultValue=1)]
        public SSOBehavior Behavior
        {
            get { return (SSOBehavior)this["Behavior"]; }
            set { this["Behavior"]= value;}
        }


        [ConfigurationProperty("Domain", DefaultValue = "")]
        public String Domain
        {
            get { return (String)this["Domain"]; }
            set { this["Domain"] = value; }
        }

        [ConfigurationProperty("Expire", DefaultValue = 20)]
        public int Expire
        {
            get { return (int)this["Expire"]; }
            set { this["Expire"] = value; }
        }
    }
}
